<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Minikombajn Pomiarowy: Plik źródłowy /home/arek/Dokumenty/AVRprograms/MKP_3_7/ADC.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Wygenerowano przez Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Szukaj');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Minikombajn Pomiarowy&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Strona&#160;główna</span></a></li>
      <li class="current"><a href="files.html"><span>Pliki</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Szukaj" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;plików</span></a></li>
      <li><a href="globals.html"><span>Globalne</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/home/arek/Dokumenty/AVRprograms/MKP_3_7/ADC.h</h1>  </div>
</div>
<div class="contents">
<a href="_a_d_c_8h.html">Idź do dokumentacji tego pliku.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/******************************************************************/</span>
<a name="l00009"></a>00009 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#a39150f192703c8fc5f1885bc21deee7f" title="Funkcja inicjujaca ADC.">ADCInit</a>(<span class="keywordtype">void</span>);
<a name="l00010"></a>00010 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#ab5c3e39cdf03dad301f30071f9ad7189" title="Funkcja wylaczajaca ADC.">ADCOff</a>(<span class="keywordtype">void</span>);
<a name="l00011"></a>00011 int16_t <a class="code" href="_a_d_c_8c.html#a672b9840360c3d1f86103664a6f5f1f9" title="Funkcja odczytujaca kanal 0 ADC.">ADCGetCh0</a>(<span class="keywordtype">void</span>);
<a name="l00012"></a>00012 int16_t <a class="code" href="_a_d_c_8c.html#a7a8ebca359988cd6fc63f013d6237b7b" title="Funkcja odczytujaca kanal 1 ADC.">ADCGetCh1</a>(<span class="keywordtype">void</span>);
<a name="l00013"></a>00013 int16_t <a class="code" href="_a_d_c_8c.html#ac0f41859c99f66503a0a1993cbc69ab3" title="Funkcja odczytujaca kanal 2 ADC.">ADCGetCh2</a>(<span class="keywordtype">void</span>);
<a name="l00014"></a>00014 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#aa524ccccd4f3e75ad29709f4ffd2ec69" title="Funkcja ustawiajaca podstawe czasu.">ADCSetPeroid</a>(uint8_t per);
<a name="l00015"></a>00015 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#a760ba43bab21390957aa1cebeabcd5a2" title="Funkcja ustawiajaca wzmocnienie.">ADCSetGain</a>(uint8_t g1, uint8_t g2);
<a name="l00016"></a>00016 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#a4af9e949e7b205fa32bb6716cd047efb" title="Funkcja kalibrujaca offset sygnalu wejsciowego.">ADCRunOffsetCal</a>(<span class="keywordtype">void</span>);
<a name="l00017"></a>00017 <span class="keywordtype">void</span> <a class="code" href="_a_d_c_8c.html#a9289369c3e42d65d8796f9282e9a9b62" title="Funkcja korygujaca sygnal na podstawie danych kalibracyjnych.">ADCOffsetCorrect</a>(int16_t* wsk, uint8_t channels, uint8_t vdiv1, uint8_t vdiv2);
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a>00021         
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Pliki</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Funkcje</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Zmienne</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Definicje</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Wygenerowano Fri Dec 30 2011 17:28:02 dla Minikombajn Pomiarowy programem&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
